<template>
<view>
  <view>
    $store.state.text：{{text}}
  </view>
  <view>
    $store.state.age：{{age}}
  </view>
  <view>
    $store.state：{{state}}
  </view>
</view>
</template>

<script lang="ts">
export default {
  data(){
    return {
      //text: this.$store.state.moduleA.text,
      //age: this.$store.state.age,
      //state: this.$store.state
      text:'',
      age:'',
      state:''
    }
  }
}
</script>

<style scoped>

</style>
